91 research outputs found

    Extracting Build Changes with BUILDDIFF

    Full text link
    Build systems are an essential part of modern software engineering projects. As software projects change continuously, it is crucial to understand how the build system changes because neglecting its maintenance can lead to expensive build breakage. Recent studies have investigated the (co-)evolution of build configurations and reasons for build breakage, but they did this only on a coarse grained level. In this paper, we present BUILDDIFF, an approach to extract detailed build changes from MAVEN build files and classify them into 95 change types. In a manual evaluation of 400 build changing commits, we show that BUILDDIFF can extract and classify build changes with an average precision and recall of 0.96 and 0.98, respectively. We then present two studies using the build changes extracted from 30 open source Java projects to study the frequency and time of build changes. The results show that the top 10 most frequent change types account for 73% of the build changes. Among them, changes to version numbers and changes to dependencies of the projects occur most frequently. Furthermore, our results show that build changes occur frequently around releases. With these results, we provide the basis for further research, such as for analyzing the (co-)evolution of build files with other artifacts or improving effort estimation approaches. Furthermore, our detailed change information enables improvements of refactoring approaches for build configurations and improvements of models to identify error-prone build files.Comment: Accepted at the International Conference of Mining Software Repositories (MSR), 201

    What kind of questions do developers ask on Stack Overflow? A comparison of automated approaches to classify posts into question categories

    Get PDF
    On question and answer sites, such as Stack Overflow (SO), developers use tags to label the content of a post and to support developers in question searching and browsing. However, these tags mainly refer to technological aspects instead of the purpose of the question. Tagging questions with their purpose can add a new dimension to the identification of discussed topics in posts on SO. In this paper, we aim at automating the classification of SO question posts into seven question categories. As a first step, we harmonized existing taxonomies of question categories and then, we manually classified 1,000 SO questions according to our new taxonomy. Additionally to the question category, we marked the phrases that indicate a question category for each of the posts. We then use this data set to automate the classification of posts using two approaches. For the first approach, we manually analyzed the phrases to find patterns. Based on regular expressions, we implemented a classifier, for each of the categories, that determines whether a post belongs to a category. These regular expressions are derived by analyzing patterns in the phrases. In the second approach, we use the curated data set to train classification models of supervised machine learning algorithms (Random Forest and Support Vector Machines). For the machine learning algorithms, we experimented with 1,312 different configurations regarding the preprocessing of the text and the representation of the input data. Then, we compared the performance of the regex approach with the performance of the best configuration that uses machine learning algorithms on a validation set of 110 posts. The results show that using the regular expression approach, we can classify posts into the correct question category with an average precision and recall of 0.90, and an MCC of 0.68. Additionally, we applied the regex approach on all questions of SO that deal with Android app development and investigated the co-occurrence of question categories in posts. We found that the categories API usage, Conceptual, and Discrepancy are the most frequently assigned question categories and that they also occur together frequently. Our approach can be used to support developers in browsing SO discussions or researchers in building recommender systems based on SO

    Analytical approach to ground heat losses for high temperature thermal storage systems

    Get PDF
    A new approach to estimate the heat loss from thermal energy storage tank foundations is presented. Results are presented through analytical correlations based on numerical solutions for the steady-state heat conduction problem for thermal energy slab-on-grade tanks with uniform insulation. Model results were verified with other well-established benchmark problems with similar boundary conditions and validated with experimental data with excellent agreement. In addition to the TES foundation heat loss, new correlations for the maximum temperature and for the radial evolution of the temperature underneath the insulation layer are also provided, giving important information related to the tank foundation design. The correlated variables are of primordial importance in the tank foundation design because, due to the typical high operating storage temperatures, an inappropriate tank foundation insulation would lead not only to a not desired loss of energy but also to an inadmissible increase of the temperatures underneath the insulation layer, affecting the structural stability of the tank. The proposed correlations provide a quick method for the estimation of total tank foundation heat losses and soil maximum temperature reached underneath the insulation layer, saving time, and cost on the engineering tank foundation design process. Finally, a comprehensive parametric analysis of the variables of interest is made and a set of cases covering a wide range of tank sizes, insulation levels, depths to water table, and storage temperatures are solved

    Microservice API Evolution in Practice: A Study on Strategies and Challenges

    Full text link
    Nowadays, many companies design and develop their software systems as a set of loosely coupled microservices that communicate via their Application Programming Interfaces (APIs). While the loose coupling improves maintainability, scalability, and fault tolerance, it poses new challenges to the API evolution process. Related works identified communication and integration as major API evolution challenges but did not provide the underlying reasons and research directions to mitigate them. In this paper, we aim to identify microservice API evolution strategies and challenges in practice and gain a broader perspective of their relationships. We conducted 17 semi-structured interviews with developers, architects, and managers in 11 companies and analyzed the interviews with open coding used in grounded theory. In total, we identified six strategies and six challenges for REpresentational State Transfer (REST) and event-driven communication via message brokers. The strategies mainly focus on API backward compatibility, versioning, and close collaboration between teams. The challenges include change impact analysis efforts, ineffective communication of changes, and consumer reliance on outdated versions, leading to API design degradation. We defined two important problems in microservice API evolution resulting from the challenges and their coping strategies: tight organizational coupling and consumer lock-in. To mitigate these two problems, we propose automating the change impact analysis and investigating effective communication of changes as open research directions

    Parametric Investigation Using Computational Fluid Dynamics of the HVAC Air Distribution in a Railway Vehicle for Representative Weather and Operating Conditions

    Get PDF
    This article belongs to the Special Issue Engineering Fluid Dynamics. http://www.mdpi.com/journal/energies/special_issues/eng_fluid_dynA computational fluid dynamics (CFD) analysis of air distribution in a representative railway vehicle equipped with a heating, ventilation, air conditioning (HVAC) system is presented in this paper. Air distribution in the passenger’s compartment is a very important factor to regulate temperature and air velocity in order to achieve thermal comfort. A complete CFD model, including the car’s geometry in detail, the passengers, the luminaires, and other the important features related to the HVAC system (air supply inlets, exhaust outlets, convectors, etc.) are developed to investigate eight different typical scenarios for Northern Europe climate conditions. The results, analyzed and discussed in terms of temperature and velocity fields in different sections of the tram, and also in terms of volumetric parameters representative of the whole tram volume, show an adequate behavior from the passengers’ comfort point of view, especially for summer climate condition

    PILAR: a Federation of VISIR Remote Laboratory Systems for Educational Open Activities

    Get PDF
    Social demands have promoted an educational approach based on an “anywhere and anytime” premise. Remote laboratories have emerged as the answer to the demands of technical educational areas for adapting themselves to this scenario. The result has not only benefit distance learning students but has provided new learning scenarios both for teachers and students as well as allowing a flexible approach to experimental topics. However, as any other solution for providing practical scenarios (hands-on labs, virtual labs or simulators), remote labs face several constraints inherited from the subsystems of its deployment hardware (real instruments, equipment and scenario) and software (analog/digital conversions, communications, workbenches, etc.). This paper describes the Erasmus+ project Platform Integration of Laboratories based on the Architecture of visiR (PILAR) which deals with several units of the federation installed in different educational institutions and devoted to analog electronics and electrical circuits. Based on the limitations of remote labs, the need for the federation will be justified and its benefits will be described by taking advantage of its strengths. The challenges that have come up during the different stages and the different approaches to design are also going to be described and analyzedinfo:eu-repo/semantics/publishedVersio

    Extreme scenarios: the tightest possible constraints on the power spectrum due to primordial black holes

    Get PDF
    Observational constraints on the abundance of primordial black holes (PBHs) constrain the allowed amplitude of the primordial power spectrum on both the smallest and the largest ranges of scales, covering over 20 decades from 1 - 10^20=Mpc. Despite tight constraints on the allowed fraction of PBHs at their time of formation near horizon entry in the early Universe, the corresponding constraints on the primordial power spectrum are quite weak, typically PR . 10<~2 assuming Gaussian perturbations. Motivated by recent claims that the evaporation of just one PBH would destabilise the Higgs vacuum and collapse the Universe, we calculate the constraints which follow from assuming there are zero PBHs within the observable Universe. Even if evaporating PBHs do not collapse the Universe, this scenario represents the ultimate limit of observational constraints. Constraints can be extended on to smaller scales right down to the horizon scale at the end of in ation, but where power spectrum constraints already exist they do not tighten significantly, even though the constraint on PBH abundance can decrease by up to 46 orders of magnitude. This shows that no future improvement in observational constraints can ever lead to a significant tightening in constraints on in ation (via the power spectrum amplitude). The power spectrum constraints are weak because an order unity perturbation is required in order to overcome pressure forces. We therefore consider an early matter dominated era, during which exponentially more PBHs form for the same initial conditions. We show this leads to far tighter constraints, which approach PR . 10^-9, albeit over a smaller range of scales and are very sensitive to when the early matter dominated era ends. Finally, we show that an extended early matter era is incompatible with the argument that an evaporating PBH would destroy the Universe, unless the power spectrum amplitude decreases by up to ten orders of magnitude

    Configuration Smells in Continuous Delivery Pipelines: A Linter and a Six-Month Study on GitLab

    Full text link
    An effective and efficient application of Continuous Integration (CI) and Delivery (CD) requires software projects to follow certain principles and good practices. Configuring such a CI/CD pipeline is challenging and error-prone. Therefore, automated linters have been proposed to detect errors in the pipeline. While existing linters identify syntactic errors, detect security vulnerabilities or misuse of the features provided by build servers, they do not support developers that want to prevent common misconfigurations of a CD pipeline that potentially violate CD principles (“CD smells”). To this end, we propose CD-Linter, a semantic linter that can automatically identify four different smells in pipeline configuration files. We have evaluated our approach through a large-scale and long-term study that consists of (i) monitoring 145 issues (opened in as many open-source projects) over a period of 6 months, (ii) manually validating the detection precision and recall on a representative sample of issues, and (iii) assessing the magnitude of the observed smells on 5,312 open-source projects on GitLab. Our results show that CD smells are accepted and fixed by most of the developers and our linter achieves a precision of 87% and a recall of 94%. Those smells can be frequently observed in the wild, as 31% of projects with long configurations are affected by at least one smell

    PILAR: Plataforma de federaciĂłn de laboratorios remotos VISIR de electrĂłnica analĂłgica

    Get PDF
    Resumen—Los laboratorios remotos son ya una herramienta de enseñanza/aprendizaje en diferentes campos de la ingeniería y de la ciencia. El laboratorio remoto VISIR es un ejemplo paradigmático de esta nueva metodología en el campo de la electrónica analógica ya que el alumno puede montar y medir circuitos reales de un modo satisfactorio. En la actualidad en Europa hay cinco instancias desplegadas y activas de VISIR y en Sudamérica hay 5 más, cada una de ellas ofrece distintos circuitos eléctricos y electrónicos de manera que el usuario debe saber dónde está desplegado el circuito que él quiere montar y desplegar para poder acceder a él, lo que es una clara limitación. La solución al problema pasa por federar dicho grupo de laboratorios remotosinfo:eu-repo/semantics/publishedVersio

    Configural and featural processing in humans with congenital prosopagnosia.

    Get PDF
    Prosopagnosia describes the failure to recognize faces, a deficiency that can be devastating in social interactions. Cases of acquired prosopagnosia have often been described over the last century. In recent years, more and more cases of congenital prosopagnosia (CP) have been reported. In the present study we tried to determine possible cognitive characteristics of this impairment. We used scrambled and blurred images of faces, houses, and sugar bowls to separate featural processing strategies from configural processing strategies. This served to investigate whether congenital prosopagnosia results from process-specific deficiencies, or whether it is a face-specific impairment. Using a delayed matching paradigm, 6 individuals with CP and 6 matched healthy controls indicated whether an intact test stimulus was the same identity as a previously presented scrambled or blurred cue stimulus. Analyses of d´ values indicated that congenital prosopagnosia is a face-specific deficit, but that this shortcoming is particularly pronounced for processing configural facial information
    • …
    corecore